package com.drug.mapper;

import com.drug.domain.DosageForm;
import com.drug.domain.DrugQualityLevel;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
//质量层次
@Mapper
public interface DrugQualityLevelMapper {
    int deleteByPrimaryKey(Integer dqlId);

    int insert(DrugQualityLevel record);

    int insertSelective(DrugQualityLevel record);

    DrugQualityLevel selectByPrimaryKey(Integer dqlId);

    int updateByPrimaryKeySelective(DrugQualityLevel record);

    int updateByPrimaryKey(DrugQualityLevel record);

    List<DrugQualityLevel> selectAll();

    String selectNameById(Integer id);

    //根据质量层次查询id
    int selectIdByName(String name);
}